package com.eshop.modules.quartz.task;

import org.slf4j.LoggerFactory;
import org.slf4j.Logger;
import org.springframework.stereotype.Component;

@Component
public class TestTask
{
    private static final Logger log;
    
    public void run() {
        TestTask.log.info("执行成功");
    }
    
    public void run1(final String str) {
        TestTask.log.info("执行成功，参数为： {}" + str);
    }
    
    static {
        log = LoggerFactory.getLogger((Class)TestTask.class);
    }
}
